package com.example.reader.service;

import cn.hutool.core.date.DateUtil;
import com.example.reader.entity.Notice;
import com.example.reader.mapper.NoticeMapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 业务层方法
 */
@Service
public class NoticeService {

    @Resource
    private NoticeMapper noticeMapper;

    public List<Notice> selectAll(Notice notice) {
        return noticeMapper.selectAll(notice);
    }


}
